home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
vbasic
/
nivb
/
nwacct.bas
next >
Wrap
BASIC Source File
|
1993-05-26
|
1KB
|
25 lines
'NWACCT.BAS NetWare Accounting Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Global Const CHARGE_RECORD = 1
Global Const NOTE_RECORD = 2
Global Const CONNECT_TIME_CHARGE_NOTE = 1
Global Const DISK_STORAGE_CHARGE_NOTE = 2
Global Const LOGIN_NOTE = 3
Global Const LOGOUT_NOTE = 4
Global Const ACCOUNT_LOCKED_NOTE = 5
Global Const SERVER_TIME_MODIFIED_NOTE = 6
Declare Function AccountingInstalled Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer
Declare Function GetAccountStatus Lib "NWNETAPI.DLL" (ByVal binderyObjectType%, ByVal binderyObjectName$, balance&, limit&, holds&) As Integer
Declare Function SubmitAccountCharge Lib "NWNETAPI.DLL" (ByVal binderyObjectType%, ByVal binderyObjectName$, ByVal serviceType%, ByVal chargeAmount&, ByVal cancelHoldAmount&, ByVal commentType%, ByVal comment$) As Integer
Declare Function SubmitAccountHold Lib "NWNETAPI.DLL" (ByVal binderyObjectType%, ByVal binderyObjectName$, ByVal reserveAmount&) As Integer
Declare Function SubmitAccountNote Lib "NWNETAPI.DLL" (ByVal binderyObjectType%, ByVal binderyObjectName$, ByVal serviceType%, ByVal commentType%, ByVal commentLen%, ByVal comment$) As Integer